<html>

	<head>
		<meta charset="utf-8" />

	</head>

	<body>
		<img id="img1" src="img/010001.jpg" style="width:100px;height:100px" alt="" />
	</body>
	<script type="text/javascript">
		window.onload = function() {
			var m = 'LFBANK0100349766';
			var s = m.substring(7,15);
			alert(s);
		}
	</script>

</html>